html,body{
    height: 100%;
    font-size: 10px;
    padding: 0;
    margin: 0;
    background-color: #fff;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}
ul,li,p{
    margin: 0;
    padding: 0;
}
/*导航条 第一部分黑色横栏*/
.topbar{
    width: 100%;
    height: 40px;
    color: #b0b0b0;
    font-size: 1.2rem;
    background-color: #333;
}
.container{
    width: 1226px;
    margin: 0 auto;
}
.topbar .container a{
    color: #b0b0b0;
}
.topbar .container a:hover{
    color: #fff;
} 
.topbar-nav{
    height: 40px;
    line-height: 40px;
    float: left;
}
.topbar-cart{
    width: 120px;
    text-align: center;
    line-height: 40px;
    margin-left: 15px;
    float: right;
    position: relative;   
}
.topbar-cart a{
    display: inline-block;
    width: 120px;
    height: 40px;
    background-color: #424242; 
}
.topbar-info{
    line-height: 40px;
    float: right;
}
/*购物车 显示隐藏部分*/
.cart-menu{
    position: absolute;
    top:40px;
    right: 0;
    width: 316px;
    height: 98px;
    line-height: 98px;
    text-align: center;
    color: #424242;
    background-color: #fff;
    box-shadow: 0px 0px 5px #ccc;
    opacity: 0;
    display: none;
}
/*1.2 logo 搜索框*/
.content .sec{
    width: 1226px;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/*搜索框*/
.header-search{
    height: 100px;
    line-height: 100px;
}
.header-search form{
    width: 296px;
    height: 50px;   
}
.header-search form input{
    border: none;
    outline: none;
    width: 245px;
    height: 50px;
    padding: 0 10px;
    border: 1px solid #eee;
}
.header-search form button{
    width: 50px;
    height: 50px;
    border: none;
    outline: none;
    background-color: #fff;
    margin-left: -7px;
    border: 1px solid #eee;
}
/*种类*/
.header-nav{
    height: 100px;
    line-height: 100px;
}
.header-nav ul li{
    font-size: 1.4rem;
    float: left;
    padding: 0 10px;
}
.header-nav ul li a{
    color: #333;
}
.header-nav ul li:hover a{
    color: #ff6700;
}
.header-nav .item-children{
    position: absolute;
    top: 140px;
    left: 0px;
    width: 100%;
    height: 230px;
    background-color: #fff;
    box-shadow: 0 0 5px #ccc; 
    display: none;
    z-index: 3;    
}
.header-nav .c-show{
    line-height: normal;
    position: absolute;
    display: none;
    z-index: 4;
}
.header-nav .children-list{
    margin: 30px 0px;
    text-align: center;
    font-size: 1.4rem;
}
.c-show .img-border{
    width: 150px;
    height: 120px;
    text-align: center;
    border-left: 1px solid #eee;
}
.first .img-border{
    border: none;
}
.children-list li{
    width: 180px;
    color: #333;
    text-align: center;
    position: relative;
}
.children-list li img{
    height: 120px;
}
.children-list .title{
    margin-top: 10px;
}
.children-list .price{
    margin-top: 5px;
    color: #ff6700;
}
.children-list .flags{
    position: absolute;
    top: -30px;
    left: 50px;
    width: 65px;
    height: 20px;
    border:1px solid #ff6700;
    padding: 0px 10px;
}
/*1.3轮播图*/
.lun{
    position: relative;
    height: 460px;
}
.pic li {
    position: absolute;
    top: 0;
    left: 0;
}
.pic li.current {
    display: block;
}
.indicator {
    position: absolute;
    right: 5px;
    bottom: 5px;
}
.indicator li {
    float: left;
    width: 10px;
    height: 10px;
    border: 2px solid #b0b0b0;
    border-radius: 50%;
    background-color: #666;
    margin: 5px;
    cursor: pointer;
}
.indicator li.active {
    background-color: #fff;
}
.page {
    width: 1226px;
    height: 70px;
    position: absolute;
    top: 195px;
}
.page span {
    display: inline-block;
    width: 40px;
    height: 70px;
    cursor: pointer;
}
.prev{
    position: absolute;
    left: 235px;
    background-image: url('../img/s.png');
    background-position: -84px 0;
}
.prev:hover{
    background-image: url('../img/s.png');
    background-position: 0px 0;
}
.next{
    position: absolute;
    right: 0;
    background-image: url('../img/s.png');
    background-position: -124px 0;
}
.next:hover{
    background-image: url('../img/s.png');
    background-position: -41px 0;
}
/*侧栏*/
.l-left{
    width: 235px;
    height: 460px;
    background-color: #000;
    opacity: 0.5;
    z-index: 2;
    position: absolute;
    top: 0px;
    left: 0px; 
    font-size: 1.4rem;
    color: #fff;
}
.l-left .b-color{
    background-color: #ff6700;
    opacity: 1;
    cursor: pointer;
}
.site{
    margin: 30px 0px;
    font-size: 1.4rem;    
}
.site li{
    width: 235px;
    height: 40px;
    line-height: 40px;
    padding: 0px 30px;
    text-align: left;
}
.site li span{
    float: right;
    margin-top: 13px;
}
.l-con{
    height: 460px;
    background-color: #fff;
    z-index: 2;
    position: absolute;
    top: 0px;
    left: 235px;
    display: flex;
}
.l-con .l-show{
    display: flex;
    justify-content: space-between;
    align-items: center;
    display: none;
}
.l-con .l-show td{
    width: 260px;
    height: 70px;
    position: relative;
    padding-left: 70px;
}
.l-show td img{
    height: 40px;   
    position: absolute;
    top: 15px;
    left: 10px;
}
.l-show td span{
    display: inline-block;
    width: 120px;
}
.l-show td:hover{
    color: #ff6700;
    cursor: pointer;
}
.l-show td div{
    display: inline-block;
    width: 60px;
    height: 25px;
    line-height: 25px;
    color: #ff6700;
    text-align: center;
    border: 1px solid red;
}
.l-show td div:hover{
    color: #fff;
    background-color: #f25807;
    cursor: pointer;
}
/*图片*/
.tp{
    height: 170px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tp .i-p{
    width: 235px;
    height: 170px;
    background-color: #666;
    padding: 5px;
}
.i-p li{
    width: 70px;
    height: 70px;
    display: inline-block; 
}
.i-p li a{
    color: #b0b0b0;
}
.i-p a:hover{
    color: white;
}
.i-p li span{
    display: block;
    width: 65px;
    height: 35px;
    text-align: center;
    line-height: 35px;
}
.tp .i-img img{
    width: 315px;
    height: 170px;
}
.i-top,.i-bottom{
    margin-top: 7px;
}
.i-p .i-top li span:last-child{
    border-bottom: 1px solid #ccc;
}
.i-top li ,.i-bottom li {
    border-right: 1px solid #ccc;
}
.i-top li:last-child, .i-bottom li:last-child{
    border-right: none;
}
/*明星单品*/
.star{
    margin-top: 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
h2{
    height: 60px;
    line-height: 60px;
    font-size: 2.2rem;
}
.star .button{
    position: absolute;
    top: 20px;
    right: 0px;
    width: 75px;
    height: 20px;
}
.button button{
    border: none;
    outline: none;
    background-color: transparent;
    width: 35px;
    height: 20px;
    float: left;
}
.button a{
    display: inline-block;
    width: 34px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border: 1px solid #eee;
}
.button button:hover{
    color: #ff6700;
}
.button button.active{
    color: #b0b0b0;
}
#s-show{
    width: 1226px;
    margin: 0 auto;
    height: 350px;
    overflow: hidden;
}
.s-con{
    position: absolute;
    top: 60px;
    width: 2452px;
    height: 350px;
}
.s-con ul {
    position: absolute;
    top: 0;
    width: 1226px;
    height: 350px;
    display: inline-block;
}
.s-con ul:last-child{
    left: 1226px; 
}
.s-con li{
    width: 235px;
    height: 345px;
    font-size: 1.4rem;
    margin: 0px 5px;
    color: #333;
    background-color: #fafafa;
    text-align: center;
    float: left;
    border-top: 1px solid skyblue;
}
.s-con .img-border{
    width: 200px;
    height: 200px;
    margin: 0 auto;
    padding-top: 40px;
    border: none;
    text-align: center;
}
.s-con .img-border img{
    height: 120px;
}
.i-font{
    color: #b0b0b0;
    font-size: 1.2rem;
    margin: 10px 0px;
}
.price{
    color: #ff6700;
    margin-top: 10px;
}
/*智能硬件*/
.contents{
    width: 100%;
    padding-top: 60px;
    padding-bottom: 20px;    
    background-color: #f5f5f5;
}
.hard{
    position: relative;
}
.h-title{
    width: 1226px;
    height: 60px;
    line-height: 60px;    
    font-size: 20px;
}
.h-title a {
    display: block;
    width: 100px;
    height: 20px;
    line-height: 20px;
    font-size: 1.6rem;
    color: #333;
    position: absolute;
    top: 20px;
    right: 0px;
}
.h-title a:hover{
    color: #ff6700;
}
.h-title a:hover span{
    background-color: #ff6700;
}
.h-title a span{
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    background-color: #ccc;
    color: #fff;
    margin-left: 5px;
}
.h-con{
    width: 1226px;
    height: 614px;
}
.h-img{
    width: 234px;
    height: 614px;
    position: absolute;
    top: 60px;
    left: 0px;
}
.h-img img{
    width: 234px;
    height: 614px;
}
.h-img:hover{
    position: absolute;
    top: 58px;
    box-shadow: 0px 5px 15px #ddd;
    cursor: pointer;    
}
.h-content{
    width: 1227px;
    padding-left: 234px;
}
.h-content li{
    width: 234px;
    height: 300px;
    margin: 0 0 14px 14px;
    text-align: center;
    background-color: #fff;
    position: relative;
    float: left;
}
.h-content li:hover{
    position: relative;
    top: -2px;
    box-shadow: 0px 5px 15px #ddd;
    cursor: pointer;
}
.h-content li .img{
    width: 160px;
    height: 160px;
    margin: 0 auto;
    margin-top: 20px;
   
}
.h-content li .img img{
    width: 150px;
    height: 150px;
    margin: 0 auto;
}
.h-content li .title{
    font-size: 1.4rem;
    color: #333;
    margin: 10px auto;        
}
.h-content li .i-font{
    font-size: 1.2rem;
    color: #b9b6bc;
    margin: 10px auto;    
}
.h-content li .price{
    font-size: 1.4rem;
    color: #ff6700;
}
.h-content li .flags{
    width: 65px;
    height: 20px;
    line-height: 20px;
    font-size: 1.2rem;
    color: #fff;
    position: absolute;
    top: 0px;
    left: 80px;
    background-color: #83c44e;
}
/*搭配*/
.match{
    margin-top: 20px;
    position: relative;
}
.m-title{
    height: 60px;  
    line-height: 60px; 
}
.m-title ul{
    position: absolute;
    top: 0;
    right: 0;
}
.m-title ul li{
    float: left;
    margin-left: 20px;
    font-size: 1.6rem;
}
.m-li-show{
    color: #ff6700;
    border-bottom: 2px solid #ff6700;
}
.m-con{
    margin-top: 10px;
    width: 1226px;    
    height: 614px;
    position: relative;
}
.m-list{
    position: absolute;
    top: 0;
    left: 0;
}
.m-list ul{
    display: none;
}
.m-list ul.m-show{
    display: block;
}
.m-list .dis{
    width: 234px;
    height: 0px;
    background-color: #ff6700;
    font-size: 1.2rem;
    line-height: 16px;
    margin: 0px auto;
    position: absolute;
    bottom: 0px;
    left: 0px;
    opacity: 0;
}
.dis-con{
    padding: 5px;
    color: #fff;
}
.dis-p{
    padding: 5px;
    color: #ffb27f;
}
.m-list ul li:last-child, .m-list ul li:last-child:hover{
    position: relative;
    top: 0;
    left: 0;
    background-color: transparent;
    box-shadow: none;
}
.m-top{
    margin-bottom: 14px;
}
.m-top,.m-bottom{
    width: 100%;
    height: 140px;
    padding: 0 17px; 
    background-color: #fff; 

}
.m-top:hover,.m-bottom:hover{
    position: relative;
    top: -2px;
    box-shadow: 0 5px 15px #ddd;
}
.m-top div,.m-bottom div{
    margin-top: 20px;
    width: 100px;
    height: 100px;
    float: left;
    text-align: left;
}
.m-top div p{
    margin: 10px 0px;
}
.m-top img{
    margin: 10px;
    width: 80px;
}
.m-left{
    padding-top: 30px;
    padding-left: 5px;
}
.m-bottom .m-more{
    font-size: 2rem;
    color: #333;
}
.m-bottom span{
    display: block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    font-size: 5rem;
    color: #ff6700;
    text-align: center;
}
.m-img{
    width: 234px;
    height: 614px;
    position: absolute;
    top: 0;
    left: 0; 
}
.m-img li{
    height: 300px;
    margin-bottom: 14px;
    background-color: #f5f5f5;
}
.m-img img{
    width: 234px;
    height: 300px;
}
.m-img li:hover{
    position: relative;
    top: -2px;
    box-shadow: 0px 5px 15px #ddd;
    cursor: pointer;
}
/*配件*/
.parts .dz,.rim .myf{
    width: 65px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    background-color: #e53935;
    position: absolute;
    top: 0;
    left: 84px;
}
.rim .myf{
    background-color: #ffac13;
}
.parts .price span{
    color: #b0b0b0;
    text-decoration: line-through;
}
/*为您推荐*/
.rec{
    margin-top: 20px;
    position: relative;
}
.rec .btn{
    position: absolute;
    top: 20px;
    right: 0;
    width: 60px;
    height: 20px;
}
.rec .btn button{
    font-size: 1.4rem;
    width: 28px;
    height: 20px;
    background-color: transparent;
    outline: none;
    border: none;
    color: #ccc;  
    border: 1px solid #ddd;
    float: left;
}
.rec .btn button.active{
    color: #b0b0b0;
}
.rec .btn button:hover{
    color: #ff6700;
}
.rec .rec-con{
    width: 1226px;
    height: 314px;
    overflow: hidden;
    position: relative;
    /*border: 1px solid red;*/
}
.rec section{
    position: absolute;
    top: 0;
    left: 0;
    width: 5000px;
    height: 300px;
    border: 1px solid gold;
}
.rec ul{
    width: 1226px;
    height: 300px;
    float: left;
}
.rec ul li{
    width: 234px;
    height: 300px;
    margin-right: 14px;
    background-color: #fff;
    text-align: center;
    padding-top: 40px;
    float: left;
}
.rec ul li:last-child{
    margin: 0;
}
.rec ul li:hover{
    position: relative;
    top: -2px;
}
/*热评产品*/
.h-con{
    width: 1226px;
    height: 415px;    
}
.h-con>li{
    width: 296px;
    height: 415px;
    margin-left: 14px;
    background-color: #fff;
    float: left;
}
.h-con>li:first-child{
    margin: 0;
}
.h-con>li:hover{
    position: relative;
    top: -2px;
    box-shadow: 0 10px 10px #ddd;
}
.h-con li img{
    width: 296px;
    height: 220px;
}
.hot-content{
    width: 296px;
    padding: 20px;
    line-height: 20px;
    font-size: 1.4rem;
}
.h-con .i-font,.h-con .hot-last{
    width: 296px;
    padding: 5px 20px;
    margin: 0;
}
/*内容*/

/*脚部*/
footer{
    padding-top: 20px;
    width: 100%;
}
.t-top{
    width: 100%;
    height: 272px;
    background-color: #fff;
}
footer .top{
    width: 1226px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 2px solid #ddd;
}
footer .top a{
    font-size: 1.6rem;
    color: #616161;
    font-weight: bold;
}
footer .top a:hover{
    color: #ff6700;
}
footer .top span{
    font-size: 2rem;
    color: #ddd;
}
footer .bottom{
    width: 1226px;
    height: 192px;
    margin: 40px auto;
    position: relative;
}
.bottom .b-left{
    float: left
}
.bottom .b-left dl{
    width: 160px;
    height: 112px;
    float: left;
}
.bottom .b-left dl dt{
    width: 160px;
    height: 17px;
    margin-top: -1px;
    margin-bottom: 26px;
    font-size: 1.4rem;
    line-height: 1.25;
    color: #424242;
}
.bottom .b-left dl dd{
    width: 160px;
    height: 18px;
    margin-top: 10px;
    font-size: 1.2rem;
    color: #666;
}
.bottom .b-right{
    width: 252px;
    height: 112px;
    border-left: 1px solid #ddd;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
}
.b-right .tl{
    font-size: 2rem;
    color: #ff6700;
}
.b-right .b-con{
    font-size: 1.4rem;
    color: #424242;
}
.b-right small{
    font-size: 1.2rem;
    color: #424242;
}
.b-right a{
    display: block;
    width: 120px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border: 1px solid #ff6700;
    margin-left: 70px;
    margin-top: 20px;
}
.b-right a:hover{
    color: #fff;
    background-color: #ff6700;
}
.t-b{
    width: 1226px;
    margin: 20px auto;
}
.t-b .t-img{
    width: 57px;
    height: 57px;
    margin-right: 5px;
}
.t-b .t-img img{
    width: 57px;
    height: 57px;
}
.t-b .t-aAll{
    width: 750px;
    float: left;
}
.t-b .t-aAll a { 
    color:#b0b0b0;
    font-size: 1.2rem; 
    
}
.t-b .t-aAll a span{
    margin-right: 2px;
}